/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package socketplayer;

import java.util.TimerTask;

/**
 *
 * @author Administrator
 */
public class SendStartMessage extends TimerTask{
    public ServerSocketControl ssc;
    public boolean sended = false;
    String roomid;
    SendStartMessage(ServerSocketControl _ssc,String _roomid)
    {
        ssc = _ssc;
        roomid = _roomid;
    }
    @Override
    public void run() {
        sended = true;
        ssc.SendMessage(roomid, 1);
        
        //throw new UnsupportedOperationException("Not supported yet.");
    }
    
}
